<div class="modal hide fade in" id="saffull" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    
    <form name="formhelpdesk" action="" method="post">

        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h3 id="myModalLabel"><?=$t_segurancadevoo;?></h3>
        </div>

        <div class="modal-body">

            <p>
                
                <ul class="nav nav-tabs nav-stacked">
                    <?php
                    $sql_saffull = "SELECT * FROM safety WHERE status='1' and saf_tipo = 'ADVISORIES' ORDER BY saf_id DESC";
                    $res_saffull = sql($sql_saffull);
                    while($linha_saffull = mysql_fetch_array($res_saffull)){
                        
                        if ($linha_saffull['saf_url'] != ""){
                            echo "<p><i class='icon-file'></i> <a href='".$_SESSION['pro_site'].$linha_saffull['saf_url']."' target='_blank'>{$linha_saffull['saf_nome']}</a></p>";
                        } else {
                            echo "<p><i class='icon-align-left'></i> <a href='' target='_blank'>{$linha_saffull['saf_nome']}</a></p>";
                        }
                        
                        if ($linha_saffull['saf_msg'] != ""){
                            echo "<p>".nl2br($linha_saffull['saf_msg'])."</p>";
                        }
                    }
                    ?>
                    
                </ul>

                
            </p>

        </div>

        <div class="modal-footer">
            <button class="btn" data-dismiss="modal" aria-hidden="true"><?=$t_fech;?></button>
        </div>
        
    </form>
    
</div>